import Main from '@/components/main'
import parentView from '@/components/parent-view'

/**
 * iview-admin中meta除了原生参数外可配置的参数:
 * meta: {
 * keepAlive: true,
 *  title: { String|Number|Function }
 *         显示在侧边栏、面包屑和标签栏的文字
 *         使用'{{ 多语言字段 }}'形式结合多语言使用，例子看多语言的路由配置;
 *         可以传入一个回调函数，参数是当前路由对象，例子看动态路由和带参路由
 *  hideInBread: (false) 设为true后此级路由将不会出现在面包屑中，示例看QQ群路由配置
 *  hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
 *  notCache: (false) 设为true后页面在切换标签后不会缓存，如果需要缓存，无需设置这个字段，而且需要设置页面组件name属性和路由配置的name一致
 *  access: (null) 可访问该页面的权限数组，当前路由设置的权限会影响子路由
 *  icon: (-) 该页面在左侧菜单、面包屑和标签导航处显示的图标，如果是自定义图标，需要在图标名称前加下划线'_'
 *  beforeCloseName: (-) 设置该字段，则在关闭当前tab页时会去'@/router/before-close.js'里寻找该字段名对应的方法，作为关闭前的钩子函数
 * }
 */

export default [
  {
    path: '/login',
    name: 'login',
    meta: {
      keepAlive: true,
      title: 'Login - 登录',
      hideInMenu: true
    },
    component: () => import('@/view/login/login.vue')
  },
  {
    path: '/third_party_login',
    name: 'third_party_login',
    meta: {
      keepAlive: true,
      title: 'Login - 登录',
      hideInMenu: true
    },
    component: () => import('@/view/login/third_party_login.vue')
  },
  {
    path: '/',
    name: '_home',
    redirect: '/home',
    component: Main,
    meta: {
      keepAlive: true,
      title: '工作台',
      access: ['_home']
      // notCache: false
    },
    children: [
      {
        path: '/home',
        name: 'home',
        meta: {
          keepAlive: true,
          // hideInMenu: true,
          title: '工作台',
          // notCache: false,
          access: ['_home'],
          icon: '_gongzuotai'
        },
        component: () => import('@/view/home/home.vue')
      }
    ]
  },
  {
    path: '/dailyManage',
    name: 'dailyManage',
    meta: {
      keepAlive: true,
      icon: '_richangguanli',
      showAlways: true,
      access: ['dailymag'],
      title: '日常管理'
    },
    component: Main,
    children: [
      {
        path: 'workPlan',
        name: 'workPlan',
        meta: {
          keepAlive: true,
          access: ['WorkDayPlan'],
          title: '工作计划'
        },
        component: () => import('@/view/oti-center/dailyManage/workPlan.vue')
      },
      {
        path: 'work-schedule',
        name: 'work-schedule',
        meta: {
          keepAlive: true,
          access: ['WorkPlanComplete'],
          title: '工作计划'
        },
        component: () => import('@/view/oti-center/dailyManage/work-schedule/index.vue')
      }
    ]
  },
  {
    path: '/data-screening',
    name: 'data-screening',
    meta: {
      hideInMenu: true
    },
    component: () => import('@/view/data-screening/index.vue')
  },
  {
    path: '/error_message',
    name: 'error_message',
    meta: {
      keepAlive: true,
      hideInMenu: true
    },
    component: () => import('@/view/error-page/error_message.vue')
  },
  {
    path: '/401',
    name: 'error_401',
    meta: {
      keepAlive: true,
      hideInMenu: true
    },
    component: () => import('@/view/error-page/401.vue')
  },
  {
    path: '/500',
    name: 'error_500',
    meta: {
      keepAlive: true,
      hideInMenu: true
    },
    component: () => import('@/view/error-page/500.vue')
  },
  {
    path: '*',
    name: 'error_404',
    meta: {
      keepAlive: true,
      hideInMenu: true
    },
    component: () => import('@/view/error-page/404.vue')
  },
  {
    path: '/message',
    name: 'message',
    component: Main,
    meta: {
      keepAlive: true,
      hideInBread: true,
      hideInMenu: true
    },
    children: [
      {
        path: 'message_page',
        name: 'message_page',
        meta: {
          keepAlive: true,
          icon: 'md-notifications',
          title: '消息中心'
        },
        component: () => import('@/view/single-page/message/index.vue')
      }
    ]
  },
  {
    path: '/revise',
    name: 'revise',
    component: Main,
    meta: {
      keepAlive: true,
      hideInBread: true,
      hideInMenu: true
      // notCache: false
    },
    children: [
      {
        path: 'password',
        name: 'password',
        meta: {
          keepAlive: true,
          title: '修改密码',
          // notCache: false,
          icon: ''
        },
        component: () => import('@/view/login/revisepw.vue')
      }
    ]
  },
  {
    path: '/logger',
    name: 'logger',
    component: Main,
    meta: {
      keepAlive: true,
      hideInBread: true,
      hideInMenu: true
      // notCache: false
    },
    children: [
      {
        path: 'loggerList',
        name: 'loggerList',
        meta: {
          keepAlive: true,
          title: '操作日志',
          // notCache: false,
          icon: ''
        },
        component: () => import('@/view/home/logger.vue')
      }
    ]
  },
  {
    path: '/business-sector',
    name: 'business-sector',
    meta: {
      keepAlive: true,
      icon: '_yitihualinghuoyonggong',
      showAlways: true,
      access: ['business-sector'],
      title: '一体化灵活用工'
    },
    component: Main,
    children: [
      {
        path: 'customerManage',
        name: 'customerManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['customerManage'],
          title: '客户管理'
        },
        component: parentView,
        children: [
          {
            path: 'customerInformation',
            name: 'customerInformation',
            meta: {
              keepAlive: true,
              title: '客户信息',
              access: ['customerInformation']
              // notCache: false
            },
            component: () => import('@/view/business-sector/customerManage/CustomerInformation/CustomerInformation.vue')
          },
          {
            path: 'CustomerInformationDetail',
            name: 'CustomerInformationDetail',
            meta: {
              keepAlive: true,
              title: '客户详情',
              hideInMenu: true,
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/CustomerInformation/CustomerInformationDetail.vue')
          },
          {
            path: 'EmployeeBook',
            name: 'EmployeeBook',
            meta: {
              keepAlive: true,
              title: '员工花名册',
              access: ['roster'],
              hideInMenu: true
              // notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/EmployeeBook/EmployeeBookList.vue')
          },
          {
            path: 'InsuranceInfoSet',
            name: 'InsuranceInfoSet',
            meta: {
              keepAlive: false,
              title: '参保信息设置',
              hideInMenu: true,
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/EmployeeBook/InsuranceInfoSet.vue')
          },
          {
            path: 'InsuranceInfoBatchSet',
            name: 'InsuranceInfoBatchSet',
            meta: {
              keepAlive: false,
              title: '参保信息批量设置',
              hideInMenu: true,
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/EmployeeBook/InsuranceInfoBatchSet.vue')
          },
          {
            path: 'EmployeeCreate',
            name: 'EmployeeCreate',
            meta: {
              keepAlive: false,
              title: '员工新增',
              hideInMenu: true,
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/EmployeeBook/EmployeeCreate.vue')
          },
          {
            path: 'changesVerify',
            name: 'changesVerify',
            meta: {
              keepAlive: true,
              access: ['changesVerify'],
              title: '异动查询'
            },
            component: parentView,
            children: [
              {
                path: 'ssChangesVerifyManage',
                name: 'ssChangesVerifyManage',
                meta: {
                  keepAlive: true,
                  title: '社保异动查询',
                  access: ['ssChangesVerifyManage']
                  // notCache: true
                },
                component: () => import('@/view/business-sector/changesManage/SsChangesManage/SsChangesManage.vue')
              },
              {
                path: 'afChangesVerifyManage',
                name: 'afChangesVerifyManage',
                meta: {
                  keepAlive: true,
                  title: '公积金异动查询',
                  access: ['afChangesVerifyManage']
                  // notCache: true
                },
                component: () => import('@/view/business-sector/changesManage/AfChangesManage/AfChangesManage.vue')
              },
              {
                path: 'ciChangesVerifyManage',
                name: 'ciChangesVerifyManage',
                meta: {
                  keepAlive: true,
                  title: '商保异动查询',
                  access: ['ciChangesVerifyManage']
                  // notCache: true
                },
                component: () => import('@/view/business-sector/changesManage/CIChangesVerifyManage.vue')
              }
            ]
          },
          {
            path: 'SysInitCustomerSalary',
            name: 'SysInitCustomerSalary',
            meta: {
              keepAlive: false,
              title: '初始化薪资',
              access: ['SysInitCustomerSalary']
              // notCache: false
            },
            component: () => import('@/view/business-sector/customerManage/SysInitCustomerSalary/SysInitCustomerSalary.vue')
          },
          {
            path: 'SysInitCustomerSalaryDetail',
            name: 'SysInitCustomerSalaryDetail',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '初始化薪资明细',
              access: ['SysInitCustomerSalary'],
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/SysInitCustomerSalary/SysInitCustomerSalaryDetail.vue')
          },
          {
            path: 'CustomerSalary',
            name: 'CustomerSalary',
            meta: {
              keepAlive: false,
              title: '客户薪资',
              access: ['CustomerSalary']
              // notCache: false
            },
            component: () => import('@/view/business-sector/customerManage/CustomerSalary/CustomerSalary.vue')
          },
          {
            path: 'CustomerSalaryDetail',
            name: 'CustomerSalaryDetail',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '客户薪资明细',
              access: ['CustomerSalary'],
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/CustomerSalary/CustomerSalaryDetail.vue')
          },
          {
            path: 'CustomerBill',
            name: 'CustomerBill',
            meta: {
              keepAlive: true,
              title: '客户账单',
              access: ['CustomerBill']
              // notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/CustomerBill/CustomerBill.vue')
          },
          {
            path: 'CustomerBillDetail',
            name: 'CustomerBillDetail',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '客户账单明细',
              access: ['CustomerBill'],
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/CustomerBill/CustomerBillDetail.vue')
          },
          {
            path: 'manual-bill',
            name: 'manual-bill',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '手工账单',
              access: ['CustomerBill'],
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/CustomerBill/ManualBill.vue')
          },
          {
            path: 'AdjustBill',
            name: 'AdjustBill',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '手工调账',
              access: ['CustomerBill'],
              notCache: true
            },
            component: () => import('@/view/business-sector/customerManage/CustomerBill/AdjustBill.vue')
          },
          {
            path: 'CustomerBillMerge',
            name: 'CustomerBillMerge',
            meta: {
              keepAlive: true,
              title: '账单合并',
              access: ['MergedBill']
              // notCache: false
            },
            component: () => import('@/view/business-sector/customerManage/CustomerBillMerge/CustomerBillMerge.vue')
          },
          {
            path: 'CustomerBillMergeNew',
            name: 'CustomerBillMergeNew',
            meta: {
              keepAlive: true,
              title: '账单合并(new)',
              access: ['MergedBill'],
              // notCache: false,
              // hideInMenu: true,
            },
            component: () => import('@/view/business-sector/customerManage/CustomerBillMergeNew/CustomerBillMerge.vue')
          },
          {
            path: 'billVerifyTotal',
            name: 'billVerifyTotal',
            meta: {
              keepAlive: true,
              title: '账单核对统计',
              access: ['CustomerBillList']
              // notCache: false
            },
            component: () => import('@/view/business-sector/customerManage/billVerifyTotal/index.vue')
          },
          {
            path: 'charging-scheme',
            name: 'charging-scheme',
            meta: {
              keepAlive: true,
              title: '收费方案管理',
              access: ['InsureProject']
              // notCache: false
            },
            component: () => import('@/view/business-sector/customerManage/charging-scheme/index.vue')
          }
        ]
      },
      {
        path: 'ssManage',
        name: 'ssManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['ssManage'],
          title: '企业社保'
        },
        component: parentView,
        children: [
          {
            path: 'ssCodeManage',
            name: 'ssCodeManage',
            meta: {
              keepAlive: true,
              title: '社保编号管理',
              access: ['ssCodeManage']
            },
            component: () => import('@/view/business-sector/socialManage/busiSsCodeManage.vue')
          },
          {
            path: 'ssChangesManage',
            name: 'ssChangesManage',
            meta: {
              keepAlive: true,
              title: '社保异动管理',
              access: ['ssChangesManage']
              // notCache: true
            },
            component: () => import('@/view/business-sector/socialManage/busiSsChangesManage.vue')
          },
          {
            path: 'socialWagesManage',
            name: 'socialWagesManage',
            meta: {
              keepAlive: false,
              title: '社保待遇管理',
              access: ['TreatmentEnjoyManage'],
              notCache: true
            },
            component: () => import('@/view/business-sector/socialWagesManage/socialWagesManage.vue')
          },
          {
            path: 'editSocialNode',
            name: 'editSocialNode',
            meta: {
              title: '查看环节',
              hideInMenu: true,
              notCache: true,
              access: ['TreatmentEnjoyManage']
            },
            component: () => import('@/view/business-sector/socialWagesManage/editNode.vue')
          },
          {
            path: 'socialWagesAudit',
            name: 'socialWagesAudit',
            meta: {
              keepAlive: false,
              title: '社保待遇审核',
              access: ['TreatmentEnjoyAudit'],
              notCache: true
            },
            component: () => import('@/view/business-sector/socialWagesManage/socialWagesAudit.vue')
          }
        ]
      },
      {
        path: 'afManage',
        name: 'afManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['afManage'],
          title: '企业公积金'
        },
        component: parentView,
        children: [
          {
            path: 'afCodeManage',
            name: 'afCodeManage',
            meta: {
              keepAlive: true,
              title: '公积金编号管理',
              access: ['afCodeManage']
            },
            component: () => import('@/view/business-sector/fundManage/busiAfCodeManage.vue')
          },
          {
            path: 'afChangesManage',
            name: 'afChangesManage',
            meta: {
              keepAlive: true,
              title: '公积金异动管理',
              access: ['afChangesManage']
              // notCache: true
            },
            component: () => import('@/view/business-sector/fundManage/busiAfChangesManage.vue')
          },
          {
            path: 'fundWagesManage',
            name: 'fundWagesManage',
            meta: {
              keepAlive: false,
              title: '公积金待遇管理',
              access: ['CAFundTreatmentEnjoyManage'],
              notCache: true
            },
            component: () => import('@/view/business-sector/fundWagesManage/fundWagesManage.vue')
          },
          {
            path: 'editFundNode',
            name: 'editFundNode',
            meta: {
              title: '查看环节',
              hideInMenu: true,
              notCache: true,
              access: ['CAFundTreatmentEnjoyManage']
            },
            component: () => import('@/view/business-sector/fundWagesManage/editNode.vue')
          },
          {
            path: 'fundWagesAudit',
            name: 'fundWagesAudit',
            meta: {
              keepAlive: false,
              title: '公积金待遇审核',
              access: ['CAFundTreatmentEnjoyAudit'],
              notCache: true
            },
            component: () => import('@/view/business-sector/fundWagesManage/fundWagesAudit.vue')
          }
        ]
      },
      {
        path: 'ciManage',
        name: 'ciManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['ciManage'],
          title: '企业商保'
        },
        component: parentView,
        children: [
          {
            path: 'ciCodeManage',
            name: 'ciCodeManage',
            meta: {
              keepAlive: true,
              title: '商保编号管理',
              access: ['ciCodeManage']
            },
            component: () => import('@/view/business-sector/commercialManage/CICodeManage.vue')
          },
          {
            path: 'ciChangeManage',
            name: 'ciChangeManage',
            meta: {
              keepAlive: true,
              title: '商保异动管理',
              access: ['ciChangeManage']
              // notCache: true
            },
            component: () => import('@/view/business-sector/commercialManage/CIChangeManage.vue')
          },
          {
            path: 'commercialWagesManage',
            name: 'commercialWagesManage',
            meta: {
              keepAlive: false,
              title: '商保待遇管理',
              access: ['CITreatmentEnjoyManage'],
              notCache: true
            },
            component: () => import('@/view/business-sector/commercialWagesManage/commercialWagesManage.vue')
          },
          {
            path: 'editCommercialNode',
            name: 'editCommercialNode',
            meta: {
              title: '查看环节',
              hideInMenu: true,
              notCache: true,
              access: ['CITreatmentEnjoyManage']
            },
            component: () => import('@/view/business-sector/commercialWagesManage/editNode.vue')
          },
          {
            path: 'commercialWagesAudit',
            name: 'commercialWagesAudit',
            meta: {
              keepAlive: false,
              title: '商保待遇审核',
              access: ['CITreatmentEnjoyAudit'],
              notCache: true
            },
            component: () => import('@/view/business-sector/commercialWagesManage/commercialWagesAudit.vue')
          }
        ]
      },
      // {  
      //   path: 'roster',
      //   name: 'roster',
      //   meta: {
      //     keepAlive: true,
      //     access: ['roster'],
      //     title: '员工管理'
      //     // notCache: true
      //   },
      //   component: () => import('@/view/business-sector/roster/rosterList.vue')
      // }
      {
        path: 'rosterManage',
        name: 'rosterManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['roster'],
          title: '员工管理'
        },
        component: parentView,
        children: [
          {
            path: 'roster',
            name: 'roster',
            meta: {
              keepAlive: true,
              title: '员工管理',
              access: ['roster']
            },
            component: () => import('@/view/business-sector/rosterManage/roster/rosterList.vue')
          },
          {
            path: 'socialProvidentBasicData',
            name: 'socialProvidentBasicData',
            meta: {
              keepAlive: false,
              title: '社保公积金基数管理',
              access: ['EmployeeInsured'],
              notCache: true
            },
            component: () => import('@/view/business-sector/rosterManage/basicData/socialProvidentBasicData.vue')
          },
          {
            path: 'commercialBasicData',
            name: 'commercialBasicData',
            meta: {
              keepAlive: false,
              title: '商保基数管理',
              access: ['EmployeeInsuredCommercial'],
              notCache: true
            },
            component: () => import('@/view/business-sector/rosterManage/basicData/commercialBasicData.vue')
          }
        ]
      },
    ]
  },
  {
    path: '/fx-zp',
    name: 'fx-zp',
    meta: {
      keepAlive: true,
      icon: '_fenxiangzhaopin',
      access: ['share-recruit'],
      showAlways: true,
      title: '分享招聘'
    },
    component: Main,
    children: [
      {
        path: 'fx-user',
        name: 'fx-user',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['share-recruit'],
          title: '用户数据'
        },
        component: parentView,
        children: [
          {
            path: 'enterprise',
            name: 'enterprise',
            meta: {
              keepAlive: true,
              access: ['share-recruit'],
              title: '企业'
            },
            component: () => import('@/view/fx-zp/fx-user/enterprise/index.vue')
          },
          {
            path: 'resume',
            name: 'resume',
            meta: {
              keepAlive: true,
              access: ['share-recruit'],
              title: '简历'
            },
            component: () => import('@/view/fx-zp/fx-user/resume/index.vue')
          },
          {
            path: 'fx-contract',
            name: 'fx-contract',
            meta: {
              keepAlive: true,
              access: ['share-recruit'],
              title: '签约企业'
            },
            component: () => import('@/view/fx-zp/fx-user/sign-contract/list.vue')
          },
          {
            path: 'fx-consultants',
            name: 'fx-consultants',
            meta: {
              keepAlive: true,
              access: ['share-recruit'],
              title: '招聘顾问'
            },
            component: () => import('@/view/fx-zp/fx-user/consultants/list.vue')
          },
          {
            path: 'enterprise-detail',
            name: 'enterprise-detail',
            meta: {
              hideInMenu: true,
              access: ['share-recruit'],
              title: '企业详情'
            },
            component: () => import('@/view/fx-zp/fx-user/enterprise/detail.vue')
          },
          {
            path: 'resume-detail',
            name: 'resume-detail',
            meta: {
              hideInMenu: true,
              access: ['share-recruit'],
              title: '简历详情'
            },
            component: () => import('@/view/fx-zp/fx-user/resume/detail.vue')
          }
        ]
      },
      {
        path: 'fx-job',
        name: 'fx-job',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['share-recruit'],
          title: '职位数据'
        },
        component: parentView,
        children: [
          {
            path: 'fulljob',
            name: 'fulljob',
            meta: {
              keepAlive: true,
              access: ['share-recruit'],
              title: '全职'
            },
            component: () => import('@/view/fx-zp/fx-job/fulljob/index.vue')
          },
          {
            path: 'fulljob-detail',
            name: 'fulljob-detail',
            meta: {
              hideInMenu: true,
              access: ['share-recruit'],
              title: '全职详情'
            },
            component: () => import('@/view/fx-zp/fx-job/fulljob/detail.vue')
          },
          {
            path: 'oddjob',
            name: 'oddjob',
            meta: {
              keepAlive: true,
              access: ['share-recruit'],
              title: '零工'
            },
            component: () => import('@/view/fx-zp/fx-job/oddjob/index.vue')
          },
          {
            path: 'oddjob-detail',
            name: 'oddjob-detail',
            meta: {
              hideInMenu: true,
              access: ['share-recruit'],
              title: '零工详情'
            },
            component: () => import('@/view/fx-zp/fx-job/oddjob/detail.vue')
          }
        ]
      }
    ]
  },
  {
    path: '/v_odd_job',
    name: 'v_odd_job',
    component: Main,
    meta: {
      keepAlive: true,
      title: 'V-零工',
      access: ['VOddJob'],
      // notCache: false,
      icon: '_Vlinggong'
    },
    children: [
      {
        path: 'v_dispatch',
        name: 'v_dispatch',
        meta: {
          keepAlive: true,
          title: '派单管理',
          access: ['VPaymentOrder']
          // notCache: false
        },
        component: () => import('@/view/v-odd-job/dispatch/list.vue')
      },
      {
        path: 'v_order',
        name: 'v_order',
        meta: {
          keepAlive: true,
          title: '订单完成',
          access: ['VPaymentOrder']
          // notCache: false
        },
        component: () => import('@/view/v-odd-job/v-order/list.vue')
      },
      {
        path: 'v_pay',
        name: 'v_pay',
        meta: {
          keepAlive: true,
          title: '支付管理',
          access: ['VPay']
          // notCache: false
        },
        component: () => import('@/view/v-odd-job/pay/list.vue')
      },
      {
        path: 'v_user',
        name: 'v_user',
        meta: {
          keepAlive: true,
          title: '用户管理',
          access: ['VUser']
          // notCache: false
        },
        component: () => import('@/view/v-odd-job/user/list.vue')
      },
      {
        path: 'v_enterprise',
        name: 'v_enterprise',
        meta: {
          keepAlive: true,
          title: '企业管理',
          access: ['VEnterprise']
          // notCache: false
        },
        component: () => import('@/view/v-odd-job/v-enterprise/list.vue')
      },
      {
        path: 'unionPayServers',
        name: 'unionPayServers',
        meta: {
          keepAlive: true,
          title: '客服导入',
          access: ['VEnterprise'],
          // notCache: false,
          hideInMenu: true
        },
        component: () => import('@/view/unionPay/servers/servers.vue')
      },
      {
        path: 'unionPayServersDetails',
        name: 'unionPayServersDetails',
        meta: {
          keepAlive: true,
          title: '客服导入明细',
          access: ['VEnterprise'],
          notCache: true,
          hideInMenu: true
        },
        component: () => import('@/view/unionPay/servers/serversDetails.vue')
      },
      {
        path: 'unionPayFinancial',
        name: 'unionPayFinancial',
        meta: {
          keepAlive: true,
          title: '财务导出',
          access: ['FinanceBasedata']
          // notCache: false,
        },
        component: () => import('@/view/unionPay/financial/financial.vue')
      },
      {
        path: 'unionPayFinancialDetails',
        name: 'unionPayFinancialDetails',
        meta: {
          keepAlive: true,
          title: '财务导出明细',
          access: ['FinanceBasedata'],
          notCache: true,
          hideInMenu: true
        },
        component: () => import('@/view/unionPay/financial/financialDetails.vue')
      },
      {
        path: 'unionPaySummary',
        name: 'unionPaySummary',
        meta: {
          keepAlive: true,
          title: '数据汇总',
          access: ['FinanceBasedataDetail']
          // notCache: false,
        },
        component: () => import('@/view/unionPay/summary/summary.vue')
      }
    ]
  },
  {
    path: '/hrdc-sales-center',
    name: 'hrdc-sales-center',
    meta: {
      keepAlive: true,
      icon: '_HRDCkehuxiaoshouzhongxin',
      showAlways: true,
      access: ['hrdc_sales'],
      title: '客户销售中心'
    },
    component: Main,
    children: [
      {
        path: 'hrdc-coustomer',
        name: 'hrdc-coustomer',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['hrdc_sales_customers'],
          title: '客户管理'
        },
        component: parentView,
        children: [
          {
            path: 'h-c-public',
            name: 'h-c-public',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_public'],
              title: '公海客户'
            },
            component: () => import('@/view/oti-center/coustomer/public/index.vue')
          },
          {
            path: 'h-c-private',
            name: 'h-c-private',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_private'],
              title: '私有客户'
            },
            component: () => import('@/view/oti-center/coustomer/private/index.vue')
          },
          {
            path: 'h-c-potential',
            name: 'h-c-potential',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_potential'],
              title: '潜在客户'
            },
            component: () => import('@/view/oti-center/coustomer/potential/index.vue')
          },
          {
            path: 'h-c-detail',
            name: 'h-c-detail',
            meta: {
              keepAlive: true,
              // access: ['oti'],
              notCache: true,
              hideInMenu: true,
              title: '客户详情'
            },
            component: () => import('@/view/oti-center/HRDC-common/detail/detail.vue')
          }
        ]
      },
      {
        path: 'hrdc-sales',
        name: 'hrdc-sales',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['hrdc_sales_projects'],
          title: '销售管理'
        },
        component: parentView,
        children: [
          {
            path: 'hrdc-demand-A',
            name: 'hrdc-demand-A',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_a'],
              // notCache: false,
              title: '明确需求'
            },
            component: () => import('@/view/oti-center/sales/demand-A/index.vue')
          },
          {
            path: 'hrdc-demand-B',
            name: 'hrdc-demand-B',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_b'],
              title: '共识方案'
            },
            component: () => import('@/view/oti-center/sales/demand-B/index.vue')
          },
          {
            path: 'hrdc-demand-C',
            name: 'hrdc-demand-C',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_c'],
              title: '商务机会'
            },
            component: () => import('@/view/oti-center/sales/demand-C/index.vue')
          },
          {
            path: 'hrdc-demand-D',
            name: 'hrdc-demand-D',
            meta: {
              keepAlive: true,
              access: ['hrdc_sales_d'],
              title: '合作签约'
            },
            component: () => import('@/view/oti-center/sales/demand-D/index.vue')
          }
        ]
      },
      {
        path: 'hrdc-dataStatistical',
        name: 'hrdc-dataStatistical',
        meta: {
          keepAlive: true,
          access: ['hrdc_sales_stats'],
          title: '数据统计'
        },
        component: () => import('@/view/oti-center/dailyManage/dataStatistical.vue')
      }
    ]
  },
  {
    path: '/hrdc-deliver-center',
    name: 'hrdc-deliver-center',
    meta: {
      keepAlive: true,
      icon: '_HRDCkehujiaofuzhongxin',
      showAlways: true,
      access: ['ProductDelivery'],
      title: '客户交付中心'
    },
    component: Main,
    children: [
      {
        path: 'hrdc-assign',
        name: 'hrdc-assign',
        meta: {
          keepAlive: true,
          access: ['ProductDeliveryToAllocation'],
          title: '待分配项目'
        },
        component: () => import('@/view/oti-center/deliveryManage/assign/index.vue')
      },
      {
        path: 'hrdc-incomplete',
        name: 'hrdc-incomplete',
        meta: {
          keepAlive: true,
          access: ['ProductDeliveryToDelivery'],
          title: '待交付项目'
        },
        component: () => import('@/view/oti-center/deliveryManage/incomplete/index.vue')
      },
      {
        path: 'hrdc-finish',
        name: 'hrdc-finish',
        meta: {
          keepAlive: true,
          access: ['ProductDeliveryDelivery'],
          title: '完成交付项目'
        },
        component: () => import('@/view/oti-center/deliveryManage/finish/index.vue')
      }
    ]
  },
  {
    path: '/finance',
    name: 'finance',
    meta: {
      keepAlive: true,
      icon: '_caiwubankuai',
      showAlways: true,
      access: ['Finance'],
      title: '财务管理'
    },
    component: Main,
    children: [
      {
        path: 'invoiceManage',
        name: 'invoiceManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['FinanceInvoice'],
          title: '发票管理'
        },
        component: parentView,
        children: [
          {
            path: 'invoiceApply',
            name: 'invoiceApply',
            meta: {
              keepAlive: true,
              access: ['FinanceInvoiceApply'],
              title: '发票申请'
            },
            component: parentView,
            // component: () => import('@/view/finance/invoiceManage/invoiceManage.vue')
            children: [
              {
                path: 'invoiceApplyList',
                name: 'invoiceApplyList',
                meta: {
                  // keepAlive: true,
                  access: ['FinanceInvoiceApply'],
                  title: '发票申请'
                },
                component: () => import('@/view/finance/invoiceManage/invoiceApply/invoiceApply.vue')
              }
            ]
          },
          {
            path: 'invoiceMake',
            name: 'invoiceMake',
            meta: {
              keepAlive: true,
              access: ['FinanceInvoiceManage'],
              title: '开票管理'
            },
            component: parentView,
            // component: () => import('@/view/finance/invoiceManage/invoiceManage.vue')
            children: [
              {
                path: 'invoiceMakeList',
                name: 'invoiceMakeList',
                meta: {
                  access: ['FinanceInvoiceManage'],
                  title: '开票管理'
                },
                component: () => import('@/view/finance/invoiceManage/invoiceMake/invoiceMake.vue')
              }
            ]
          }
        ]
      },
      {
        path: 'receivableBillManage',
        name: 'receivableBillManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['FinanceReceivableBills'],
          title: '应收账单管理'
        },
        component: parentView,
        children: [
          {
            path: 'receivableBillsList',
            name: 'receivableBillsList',
            meta: {
              keepAlive: true,
              access: ['FinanceReceivableBill'],
              title: '应收账单管理'
            },
            component: () => import('@/view/finance/receivableBillManage/receivableBill/receivableBill.vue')
          },
          {
            path: 'financeReceivableBalance',
            name: 'financeReceivableBalance',
            meta: {
              keepAlive: true,
              access: ['FinanceReceivableBill'],
              title: '应收差额说明'
            },
            component: () => import('@/view/finance/receivableBillManage/receivableBill/receivableBalance.vue')
          }
        ]
      },
      {
        path: 'moneyManage',
        name: 'moneyManage',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['FinanceFund'],
          title: '资金管理'
        },
        component: parentView,
        children: [
          {
            path: 'collectingAccount',
            name: 'collectingAccount',
            meta: {
              keepAlive: true,
              access: ['FinanceCollectingAccount'],
              title: '收款账户管理'
            },
            component: parentView,
            children: [
              {
                path: 'collectingAccountList',
                name: 'collectingAccountList',
                meta: {
                  keepAlive: true,
                  access: ['FinanceCollectingAccount'],
                  title: '收款账户管理'
                },
                component: () => import('@/view/finance/moneyManage/collectingAccount/collectingAccount.vue')
              }
            ]
          },
          {
            path: 'payAccount',
            name: 'payAccount',
            meta: {
              keepAlive: true,
              access: ['FinancePayAccount'],
              title: '付款账户管理'
            },
            component: parentView,
            children: [
              {
                path: 'payAccountList',
                name: 'payAccountList',
                meta: {
                  keepAlive: true,
                  access: ['FinancePayAccount'],
                  title: '付款账户管理'
                },
                component: () => import('@/view/finance/moneyManage/payAccount/payAccount.vue')
              }
            ]
          },
          {
            path: 'receivable',
            name: 'receivable',
            meta: {
              // keepAlive: true,
              access: ['FinanceReceivable'],
              title: '到款管理'
            },
            component: parentView,
            children: [
              {
                path: 'receivableList',
                name: 'receivableList',
                meta: {
                  // keepAlive: true,
                  access: ['FinanceReceivable'],
                  title: '到款管理'
                },
                component: () => import('@/view/finance/moneyManage/receivable/receivable.vue')
              }
            ]
          },
          {
            path: 'receivableClaim',
            name: 'receivableClaim',
            meta: {
              keepAlive: true,
              access: ['FinanceReceivableClaim'],
              title: '资金认领'
            },
            component: parentView,
            children: [
              {
                path: 'receivableClaimList',
                name: 'receivableClaimList',
                meta: {
                  // keepAlive: true,
                  access: ['FinanceReceivableClaim'],
                  title: '资金认领'
                },
                component: () => import('@/view/finance/moneyManage/receivableClaim/receivableClaim/receivableClaim.vue')
              },
              {
                path: 'billClaim',
                name: 'billClaim',
                meta: {
                  // keepAlive: true,
                  access: ['FinanceBillClaim'],
                  title: '账单认领',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/moneyManage/receivableClaim/billClaim/billClaim.vue')
              },
              {
                path: 'treatClaim',
                name: 'treatClaim',
                meta: {
                  // keepAlive: true,
                  access: ['FinanceTreatmentClaim'],
                  title: '待遇认领',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/moneyManage/receivableClaim/treatClaim/treatClaim.vue')
              }
            ]
          }
        ]
      },
      {
        path: 'customerPayable',
        name: 'customerPayable',
        meta: {
          keepAlive: true,
          showAlways: true,
          access: ['FinancePayableBill'],
          title: '客户应付管理'
        },
        component: parentView,
        children: [
          {
            path: 'ssApply',
            name: 'ssApply',
            meta: {
              keepAlive: true,
              access: ['FinanceSSPayableBillApply'],
              title: '社保付款申请'
            },
            component: parentView,
            children: [
              {
                path: 'ssApplyList',
                name: 'ssApplyList',
                meta: {
                  keepAlive: true,
                  access: ['FinanceSSPayableBillApply'],
                  title: '社保付款申请'
                },
                component: () => import('@/view/finance/customerPayable/ssApply/ssApply.vue')
              },
              {
                path: 'ssApplyDetail',
                name: 'ssApplyDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinanceSSPayableBillApply'],
                  title: '社保付款申请明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/ssApply/ssApplyDetail.vue')
              },
            ]
          },
          {
            path: 'ssPayable',
            name: 'ssPayable',
            meta: {
              keepAlive: true,
              access: ['FinanceSSPayableBill'],
              title: '社保应付账单'
            },
            component: parentView,
            children: [
              {
                path: 'ssPayableList',
                name: 'ssPayableList',
                meta: {
                  keepAlive: true,
                  access: ['FinanceSSPayableBill'],
                  title: '社保应付账单'
                },
                component: () => import('@/view/finance/customerPayable/ssPayable/ssPayable.vue')
              },
              {
                path: 'ssPayableDetail',
                name: 'ssPayableDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinanceSSPayableBill'],
                  title: '社保应付账单明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/ssPayable/ssPayableDetail.vue')
              },
            ]
          },
          {
            path: 'pfApply',
            name: 'pfApply',
            meta: {
              keepAlive: true,
              access: ['FinancePFPayableBillApply'],
              title: '公积金付款申请'
            },
            component: parentView,
            children: [
              {
                path: 'pfApplyList',
                name: 'pfApplyList',
                meta: {
                  keepAlive: true,
                  access: ['FinancePFPayableBillApply'],
                  title: '公积金付款申请'
                },
                component: () => import('@/view/finance/customerPayable/pfApply/pfApply.vue')
              },
              {
                path: 'pfApplyDetail',
                name: 'pfApplyDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinancePFPayableBillApply'],
                  title: '公积金付款申请明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/pfApply/pfApplyDetail.vue')
              },
            ]
          },
          {
            path: 'pfPayable',
            name: 'pfPayable',
            meta: {
              keepAlive: true,
              access: ['FinancePFPayableBill'],
              title: '公积金应付账单'
            },
            component: parentView,
            children: [
              {
                path: 'pfPayableList',
                name: 'pfPayableList',
                meta: {
                  keepAlive: true,
                  access: ['FinancePFPayableBill'],
                  title: '公积金应付账单'
                },
                component: () => import('@/view/finance/customerPayable/pfPayable/pfPayable.vue')
              },
              {
                path: 'pfPayableDetail',
                name: 'pfPayableDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinancePFPayableBill'],
                  title: '公积金应付账单明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/pfPayable/pfPayableDetail.vue')
              },
            ]
          },
          {
            path: 'cApply',
            name: 'cApply',
            meta: {
              keepAlive: true,
              access: ['FinanceCPayableBillApply'],
              title: '商保付款申请'
            },
            component: parentView,
            children: [
              {
                path: 'cApplyList',
                name: 'cApplyList',
                meta: {
                  keepAlive: true,
                  access: ['FinanceCPayableBillApply'],
                  title: '商保付款申请'
                },
                component: () => import('@/view/finance/customerPayable/cApply/cApply.vue')
              },
              {
                path: 'cApplyDetail',
                name: 'cApplyDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinanceCPayableBillApply'],
                  title: '商保付款申请明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/cApply/cApplyDetail.vue')
              },
            ]
          },
          {
            path: 'cPayable',
            name: 'cPayable',
            meta: {
              keepAlive: true,
              access: ['FinanceCPayableBill'],
              title: '商保应付账单'
            },
            component: parentView,
            children: [
              {
                path: 'cPayableList',
                name: 'cPayableList',
                meta: {
                  keepAlive: true,
                  access: ['FinanceCPayableBill'],
                  title: '商保应付账单'
                },
                component: () => import('@/view/finance/customerPayable/cPayable/cPayable.vue')
              },
              {
                path: 'cPayableDetail',
                name: 'cPayableDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinanceCPayableBill'],
                  title: '商保应付账单明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/cPayable/cPayableDetail.vue')
              },
            ]
          },
          {
            path: 'sPayable',
            name: 'sPayable',
            meta: {
              keepAlive: true,
              access: ['FinanceSPayableBill'],
              title: '薪资应付账单'
            },
            component: parentView,
            children: [
              {
                path: 'sPayableList',
                name: 'sPayableList',
                meta: {
                  keepAlive: true,
                  access: ['FinanceSPayableBill'],
                  title: '薪资应付账单'
                },
                component: () => import('@/view/finance/customerPayable/sPayable/sPayable.vue')
              },
              {
                path: 'sPayableDetail',
                name: 'sPayableDetail',
                meta: {
                  keepAlive: true,
                  access: ['FinanceSPayableBill'],
                  title: '薪资应付账单明细',
                  hideInMenu: true
                },
                component: () => import('@/view/finance/customerPayable/sPayable/sPayableDetail.vue')
              },
            ]
          },
        ]
      },
      {
        path: 'financeBalance',
        name: 'financeBalance',
        component: parentView,
        meta: {
          keepAlive: true,
          showAlways: true,
          // notCache: false,
          access: ['FinanceBalance'],
          title: '差额管理'
        },
        children: [
          {
            path: 'financeBalanceList',
            name: 'financeBalanceList',
            meta: {
              keepAlive: true,
              // notCache: false,
              access: ['FinanceBalance'],
              title: '差额管理'
            },
            component: () => import('@/view/finance/financeBalance/customerBalance.vue')
          },
          {
            path: 'customerBalanceDetailNew',
            name: 'customerBalanceDetailNew',
            meta: {
              keepAlive: true,
              notCache: true,
              title: '差额明细',
              access: ['FinanceBalance'],
              hideInMenu: true
            },
            component: () => import('@/view/finance/financeBalance/customerBalanceDetail.vue')
          },
          {
            path: 'financePayableBalance',
            name: 'financePayableBalance',
            meta: {
              keepAlive: true,
              // notCache: false,
              title: '应付差额说明',
              access: ['FinanceBalance']
            },
            component: () => import('@/view/finance/financeBalance/payableBalance.vue')
          }
        ]
      },
    ]
  },
  // {
  //   path: '/financial-sector',
  //   name: 'financial-sector',
  //   meta: {
  //     keepAlive: true,
  //     icon: '_caiwubankuai',
  //     showAlways: true,
  //     access: ['financial-sector'],
  //     title: '财务管理'
  //   },
  //   component: Main,
  //   children: [
  //     {
  //       path: 'accountsReceivableManage',
  //       name: 'accountsReceivableManage',
  //       meta: {
  //         keepAlive: true,
  //         showAlways: true,
  //         access: ['accountsReceivable'],
  //         title: '应收账单管理'
  //       },
  //       component: parentView,
  //       children: [
  //         {
  //           path: 'accountsReceivableNew',
  //           name: 'accountsReceivableNew',
  //           meta: {
  //             keepAlive: true,
  //             access: ['accountsReceivableNew'],
  //             title: '应收账单管理'
  //           },
  //           component: () => import('@/view/financial-sector/accountsReceivable/accountsReceivableNew/accountsReceivableManage.vue')
  //         },
  //         {
  //           path: 'ReceivePaymentCreateNew',
  //           name: 'ReceivePaymentCreateNew',
  //           meta: {
  //             keepAlive: true,
  //             title: '到款填写',
  //             hideInMenu: true,
  //             notCache: true
  //           },
  //           component: () => import('@/view/financial-sector/accountsReceivable/accountsReceivableNew/receivePaymentCreate.vue')
  //         },
  //         {
  //           path: 'receivableBalance',
  //           name: 'receivableBalance',
  //           meta: {
  //             keepAlive: true,
  //             access: ['ReceivableBalanceLog'],
  //             title: '应收差额说明'
  //           },
  //           component: () => import('@/view/financial-sector/accountsReceivable/accountsReceivableNew/receivableBalance.vue')
  //         }
  //       ]
  //     },
  //     {
  //       path: 'billsPayable',
  //       name: 'billsPayable',
  //       meta: {
  //         keepAlive: true,
  //         showAlways: true,
  //         access: ['billsPayable'],
  //         title: '应付账单管理'
  //       },
  //       component: parentView,
  //       children: [
  //         {
  //           path: 'socialSecurityPayableNew',
  //           name: 'socialSecurityPayableNew',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['socialSecurityPayable'],
  //             title: '社保应付账单'
  //           },
  //           component: () => import('@/view/financial-sector/billsPayable/socialSecurityPayableNew/socialSecurityPayable.vue')
  //         },
  //         {
  //           path: 'providentFundPayableNew',
  //           name: 'providentFundPayableNew',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['providentFundPayable'],
  //             title: '公积金应付账单'
  //           },
  //           component: () => import('@/view/financial-sector/billsPayable/providentFundPayableNew/providentFundPayable.vue')
  //         },
  //         {
  //           path: 'commercialInsurancePayableNew',
  //           name: 'commercialInsurancePayableNew',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['commercialInsurancePayable'],
  //             title: '商保应付账单'
  //           },
  //           component: () => import('@/view/financial-sector/billsPayable/commercialInsurancePayableNew/commercialInsurancePayable.vue')
  //         },
  //         {
  //           path: 'salaryPayable',
  //           name: 'salaryPayable',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['SalaryPayableBill'],
  //             title: '薪资应付账单'
  //           },
  //           component: () => import('@/view/financial-sector/billsPayable/salaryPayable/salaryPayable.vue')
  //         },
  //         {
  //           path: 'salaryPayableDetail',
  //           name: 'salaryPayableDetail',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['SalaryPayableBill'],
  //             title: '薪资应付账单明细',
  //             hideInMenu: true
  //           },
  //           component: () => import('@/view/financial-sector/billsPayable/salaryPayable/salaryPayableDetail.vue')
  //         }
  //       ]
  //     },
  //     {
  //       path: 'balanceManagement',
  //       name: 'balanceManagement',
  //       component: parentView,
  //       meta: {
  //         keepAlive: true,
  //         showAlways: true,
  //         // notCache: false,
  //         access: ['FinanceBalance'],
  //         title: '差额管理'
  //       },
  //       children: [
  //         {
  //           path: 'customerBalanceNew',
  //           name: 'customerBalanceNew',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['FinanceBalance'],
  //             title: '差额管理'
  //           },
  //           component: () => import('@/view/financial-sector/balanceManagement/customerBalanceNew/customerBalance.vue')
  //         },
  //         {
  //           path: 'customerBalanceDetailNew',
  //           name: 'customerBalanceDetailNew',
  //           meta: {
  //             keepAlive: true,
  //             notCache: true,
  //             title: '差额明细',
  //             access: ['FinanceBalance'],
  //             hideInMenu: true
  //           },
  //           component: () => import('@/view/financial-sector/balanceManagement/customerBalanceNew/customerBalanceDetail.vue')
  //         },
  //         {
  //           path: 'payableBalance',
  //           name: 'payableBalance',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             title: '应付差额说明',
  //             access: ['PayableBalanceHandleLog']
  //           },
  //           component: () => import('@/view/financial-sector/balanceManagement/customerBalanceNew/payableBalance.vue')
  //         }
  //       ]
  //     },
  //     {
  //       path: 'invoiceManagement',
  //       name: 'invoiceManagement',
  //       component: parentView,
  //       meta: {
  //         keepAlive: true,
  //         showAlways: true,
  //         access: ['invoiceManagement'],
  //         title: '发票管理'
  //       },
  //       children: [
  //         {
  //           path: 'invoiceApplication',
  //           name: 'invoiceApplication',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['invoiceApplication'],
  //             title: '发票申请'
  //           },
  //           component: () => import('@/view/financial-sector/invoiceManagement/invoiceApplication/invoiceApplication.vue')
  //         },
  //         {
  //           path: 'summaryOfInvoiceIssuance',
  //           name: 'summaryOfInvoiceIssuance',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['summaryOfInvoiceIssuance'],
  //             title: '发票开具汇总'
  //           },
  //           component: () => import('@/view/financial-sector/invoiceManagement/summaryOfInvoiceIssuance/summaryOfInvoiceIssuance.vue')
  //         }
  //       ]
  //     },
  //     {
  //       path: 'bankCashArrivalManagementNew',
  //       name: 'bankCashArrivalManagementNew',
  //       meta: {
  //         keepAlive: true,
  //         // notCache: false,
  //         access: ['bankCashArrivalManagement'],
  //         title: '银行到款管理'
  //       },
  //       component: () => import('@/view/financial-sector/bankCashArrivalManagementNew/bankCashArrivalManagement.vue')
  //     },
  //     // {
  //     //   path: 'capitalFlow',
  //     //   name: 'capitalFlow',
  //     //   meta: {
  //     //     keepAlive: true,
  //     //     // notCache: false,
  //     //     access: ['bankCashArrivalManagement'],
  //     //     title: '资金流管理'
  //     //   },
  //     //   component: () => import('@/view/financial-sector/capitalFlow/capitalFlowManagement.vue')
  //     // }
  //     {
  //       path: 'capitalFlow',
  //       name: 'capitalFlow',
  //       component: parentView,
  //       meta: {
  //         keepAlive: true,
  //         showAlways: false,
  //         access: ['CashFlowManage'],
  //         title: '资金流管理'
  //       },
  //       children: [
  //         {
  //           path: 'capitalFlowManagement',
  //           name: 'capitalFlowManagement',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['CashFlowManage'],
  //             title: '资金流管理'
  //           },
  //           component: () => import('@/view/financial-sector/capitalFlow/capitalFlowManagement.vue')
  //         },
  //         {
  //           path: 'capitalFlowDetail',
  //           name: 'capitalFlowDetail',
  //           meta: {
  //             keepAlive: true,
  //             // notCache: false,
  //             access: ['CashFlowManage'],
  //             title: '资金流明细',
  //             hideInMenu: true
  //           },
  //           component: () => import('@/view/financial-sector/capitalFlow/capitalFlowDetail.vue')
  //         }
  //       ]
  //     }
  //   ]
  // },
  {
    path: '/report-manage',
    name: 'report-manage',
    component: Main,
    meta: {
      keepAlive: false,
      hideInMenu: false,
      access: ['report'],
      title: '报表管理',
      icon: '_baobiaoguanli',
      notCache: true
    },
    component: () => import('@/view/data-screening/index.vue')
  },
  {
    path: '/policy-support',
    name: 'policy-support',
    component: Main,
    meta: {
      keepAlive: true,
      showAlways: true,
      // hideInMenu: false,
      title: '政策管理',
      access: ['PolicyMng'],
      // notCache: false,
      icon: '_zhengcezhichi'
    },
    children: [
      {
        path: 'policySupportList',
        name: 'policySupportList',
        meta: {
          keepAlive: true,
          hideInMenu: false,
          title: '政策文件管理',
          access: ['policy-support']
          // notCache: false
        },
        component: () => import('@/view/policy-support/policyFiles/policySupportList.vue')
      },
      {
        path: 'yearExamine',
        name: 'yearExamine',
        meta: {
          keepAlive: true,
          showAlways: true,
          title: '年审',
          access: ['YearReview']
          // notCache: false
        },
        component: parentView,
        children: [
          {
            path: 'baseUpload',
            name: 'baseUpload',
            meta: {
              keepAlive: true,
              hideInMenu: false,
              title: '基数上传时间节点',
              access: ['YearReviewTime']
              // notCache: false
            },
            component: () => import('@/view/policy-support/yearExamine/baseUpload/baseUpload.vue')
          },
          {
            path: 'basePretest',
            name: 'basePretest',
            meta: {
              keepAlive: true,
              hideInMenu: false,
              title: '年审基数预发',
              access: ['YearReviewPreissue']
              // notCache: false
            },
            component: () => import('@/view/policy-support/yearExamine/basePretest/basePretest.vue')
          },
          {
            path: 'basePretestDetail',
            name: 'basePretestDetail',
            meta: {
              keepAlive: true,
              hideInMenu: true,
              title: '年审基数预发详情',
              access: ['YearReviewPreissue'],
              notCache: true
            },
            component: () => import('@/view/policy-support/yearExamine/basePretest/basePretestDetail.vue')
          },
          {
            path: 'yearRecord',
            name: 'yearRecord',
            meta: {
              keepAlive: true,
              hideInMenu: false,
              title: '年审记录',
              access: ['YearReviewRecord']
              // notCache: false
            },
            component: () => import('@/view/policy-support/yearExamine/yearRecord/yearRecord.vue')
          },
          {
            path: 'yearRecordDetail',
            name: 'yearRecordDetail',
            meta: {
              keepAlive: true,
              hideInMenu: true,
              title: '年审记录详情',
              access: ['YearReviewRecord'],
              notCache: true
            },
            component: () => import('@/view/policy-support/yearExamine/yearRecord/yearRecordDetail.vue')
          },
          {
            path: 'adjustBaseRecord',
            name: 'adjustBaseRecord',
            meta: {
              keepAlive: true,
              hideInMenu: false,
              title: '年审调基记录',
              access: ['YearReviewAdjustmentRecord']
              // notCache: false
            },
            component: () => import('@/view/policy-support/yearExamine/adjustBaseRecord/adjustBaseRecord.vue')
          },
          {
            path: 'adjustBaseRecordDetail',
            name: 'adjustBaseRecordDetail',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '年审调基记录详情',
              access: ['YearReviewAdjustmentRecord'],
              notCache: true
            },
            component: () => import('@/view/policy-support/yearExamine/adjustBaseRecord/adjustBaseRecordDetail.vue')
          }
        ]
      },
      {
        path: 'yearInquiry',
        name: 'yearInquiry',
        meta: {
          keepAlive: true,
          showAlways: true,
          title: '年度普调',
          access: ['oti']
          // notCache: false
        },
        component: parentView,
        children: [
          {
            path: 'socialInquiry',
            name: 'socialInquiry',
            meta: {
              keepAlive: true,
              hideInMenu: false,
              title: '社保年度普调',
              access: ['oti']
              // notCache: false
            },
            component: () => import('@/view/policy-support/yearInquiry/socialInquiry/socialInquiry.vue')
          },
          {
            path: 'accumulationFundInquiry',
            name: 'accumulationFundInquiry',
            meta: {
              keepAlive: true,
              hideInMenu: false,
              title: '公积金年度普调',
              access: ['oti']
              // notCache: false
            },
            component: () => import('@/view/policy-support/yearInquiry/accumulationFundInquiry/accumulationFundInquiry.vue')
          }
        ]
      },
      {
        path: 'socialTariff',
        name: 'socialTariff',
        meta: {
          keepAlive: true,
          hideInMenu: false,
          title: '社保汇率调整',
          access: ['oti']
          // notCache: false
        },
        component: () => import('@/view/policy-support/socialTariff/socialTariff.vue')
      }
    ]
  },
  {
    path: '/risk-monitor',
    name: 'risk-monitor',
    component: Main,
    meta: {
      // hideInMenu: true,
      keepAlive: true,
      title: '风险监控',
      access: ['RiskWarn'],
      // notCache: false,
      icon: '_zhengcezhichi'
    },
    children: [
      {
        path: 'customer-contract',
        name: 'customer-contract',
        meta: {
          keepAlive: true,
          title: '客户合同监控',
          access: ['CustomerContract'],
        },
        component: () => import('@/view/risk-monitor/customer-contract/list.vue')
      },
      {
        path: 'staff-contract',
        name: 'staff-contract',
        meta: {
          keepAlive: true,
          title: '员工合同监控',
          access: ['EmployeeContract'],
        },
        component: () => import('@/view/risk-monitor/staff-contract/list.vue')
      },
      {
        path: 'staff-retire',
        name: 'staff-retire',
        meta: {
          keepAlive: true,
          title: '员工退休监控',
          access: ['EmployeeRetireContract'],
        },
        component: () => import('@/view/risk-monitor/staff-retire/list.vue')
      },
      {
        path: 'staff-not-contract',
        name: 'staff-not-contract',
        meta: {
          keepAlive: true,
          title: '员工未签合同监控',
          access: ['EmployeeNotContract'],
        },
        component: () => import('@/view/risk-monitor/staff-not-contract/list.vue')
      },
    ]
  },
  {
    path: '/commerce-contract',
    name: 'commerce-contract',
    meta: {
      keepAlive: true,
      icon: '_shangwuhetongguanli',
      title: '商务合同管理',
      showAlways: true,
      access: ['CommerceContract']
    },
    component: Main,
    children: [
      {
        path: 'template_cc',
        name: 'template_cc',
        meta: {
          keepAlive: true,
          title: '合同模板管理',
          access: ['CommerceContractTemplate']
        },
        component: () => import('@/view/commerce-contract/template_cc/index.vue')
      },
      {
        path: 'examine_cc',
        name: 'examine_cc',
        meta: {
          keepAlive: true,
          title: '合同审批管理',
          access: ['CommerceContractExamine']
        },
        component: () => import('@/view/commerce-contract/examine_cc/index.vue')
      },
      {
        path: 'doc_cc',
        name: 'doc_cc',
        meta: {
          keepAlive: true,
          title: '合同附件管理',
          access: ['CommerceContractFile']
        },
        component: () => import('@/view/commerce-contract/file_cc/index.vue')
      }
    ]
  },
  {
    path: '/enterpriseCertificateManage',
    name: 'enterpriseCertificateManage',
    meta: {
      keepAlive: true,
      icon: '_shangwuhetongguanli',
      title: '公司证照管理',
      // showAlways: true,
      access: ['BusinessDocument']
    },
    component: Main,
    children: [
      {
        path: 'enterpriseCertificateManageList',
        name: 'enterpriseCertificateManageList',
        meta: {
          keepAlive: true,
          icon: '_shangwuhetongguanli',
          title: '公司证照管理',
          access: ['BusinessDocument'],
          isWarn: true
        },
        component: () => import('@/view/enterprise-certificate-manage/enterpriseCertificateManage.vue')
      }
    ]
  },
  {
    path: '/doc-manage',
    name: 'doc-manage',
    meta: {
      keepAlive: true,
      icon: '_danganguanli',
      title: '档案管理',
      showAlways: true,
      access: ['FilesManage']
    },
    component: Main,
    children: [
      {
        path: 'employee-doc',
        name: 'employee-doc',
        meta: {
          keepAlive: true,
          title: '员工档案管理',
          access: ['EmployeeFilesManage']
        },
        component: () => import('@/view/files-manage/employee-files/index.vue')
      },
      {
        path: 'contract-doc',
        name: 'contract-doc',
        meta: {
          keepAlive: true,
          title: '客户合同管理',
          access: ['CustomerFilesManage']
        },
        component: () => import('@/view/files-manage/contract-files/index.vue')
      }
    ]
  },
  {
    path: '/system-mange',
    name: 'system-mange',
    meta: {
      keepAlive: true,
      icon: '_xitongshezhi',
      title: '系统管理',
      showAlways: true,
      access: ['system-mange']
      // notCache: false
    },
    component: Main,
    children: [
      {
        path: 'account',
        name: 'account',
        meta: {
          keepAlive: true,
          title: '账号管理',
          access: ['account']
        },
        // component: () => import('@/view/system-mange/accountManage/accountManage.vue')
        component: parentView,
        children: [
          {
            path: 'employeeAccount',
            name: 'employeeAccount',
            meta: {
              keepAlive: true,
              title: '员工账号',
              access: ['EmployeeAccount']
            },
            component: () => import('@/view/system-mange/accountManage/employeeAccount.vue')
          },
          {
            path: 'customerAccount',
            name: 'customerAccount',
            meta: {
              keepAlive: true,
              title: '客户账号',
              access: ['CustomerAccount']
            },
            component: () => import('@/view/system-mange/accountManage/customerAccount.vue')
          },
          {
            path: 'supplierAccount',
            name: 'supplierAccount',
            meta: {
              keepAlive: true,
              title: '平台账号',
              access: ['SupplierAccount']
            },
            component: () => import('@/view/system-mange/accountManage/supplierAccount.vue')
          }
        ]
      },
      {
        path: 'role',
        name: 'role',
        meta: {
          keepAlive: true,
          title: '角色管理',
          access: ['role']
        },
        component: () => import('@/view/system-mange/roleManage/roleManage.vue')
      },
      {
        path: 'dataAuthority',
        name: 'dataAuthority',
        meta: {
          keepAlive: true,
          title: '数据权限管理',
          access: ['DataPermissionMng']
        },
        component: parentView,
        children: [
          {
            path: 'customerAuthority',
            name: 'customerAuthority',
            meta: {
              keepAlive: true,
              title: '客户数据权限',
              access: ['CustomerDataPermission']
            },
            component: () => import('@/view/system-mange/dataAuthority/customerAuthority/customerAuthority.vue')
          },
          {
            path: 'accountAuthority',
            name: 'accountAuthority',
            meta: {
              keepAlive: true,
              title: '账号数据权限',
              access: ['UserDataPermission']
            },
            component: () => import('@/view/system-mange/dataAuthority/accountAuthority/accountAuthority.vue')
          },
          {
            path: 'authorityGroup',
            name: 'authorityGroup',
            meta: {
              keepAlive: true,
              title: '数据权限组管理',
              access: ['DataPermissionGroup']
            },
            component: () => import('@/view/system-mange/dataAuthority/authorityGroup/authorityGroup.vue')
          }
        ]
      },
      {
        path: 'organization',
        name: 'organization',
        meta: {
          keepAlive: true,
          title: '组织管理',
          access: ['Organization']
        },
        component: parentView,
        children: [
          {
            path: 'organizationManage',
            name: 'organizationManage',
            meta: {
              keepAlive: true,
              title: '组织信息管理',
              access: ['OrgMag']
            },
            component: () => import('@/view/system-mange/organizationManage/organizationManage.vue')
          },
          {
            path: 'organizationSummary',
            name: 'organizationSummary',
            meta: {
              keepAlive: true,
              title: '组织信息汇总',
              access: ['OrgSummary']
            },
            component: () => import('@/view/system-mange/organizationManage/organizationSummary.vue')
          },
          {
            path: 'organizationHistoryAdjust',
            name: 'organizationHistoryAdjust',
            meta: {
              keepAlive: true,
              title: '历史调整信息',
              access: ['PosLogger']
            },
            component: () => import('@/view/system-mange/organizationManage/historyAdjust.vue')
          }
        ]
      },
      {
        path: 'position',
        name: 'position',
        meta: {
          keepAlive: true,
          title: '职位管理',
          access: ['Position']
        },
        component: parentView,
        children: [
          {
            path: 'positionManage',
            name: 'positionManage',
            meta: {
              keepAlive: true,
              title: '职位信息管理',
              access: ['PosMag']
            },
            component: () => import('@/view/system-mange/positionManage/positionManage.vue')
          },
          {
            path: 'positionSummary',
            name: 'positionSummary',
            meta: {
              keepAlive: true,
              title: '职位信息汇总',
              access: ['PosSummary']
            },
            component: () => import('@/view/system-mange/positionManage/positionSummary.vue')
          },
          {
            path: 'positionHistoryAdjust',
            name: 'positionHistoryAdjust',
            meta: {
              keepAlive: true,
              title: '历史调整信息',
              access: ['PosLogger']
            },
            component: () => import('@/view/system-mange/positionManage/historyAdjust.vue')
          }
        ]
      },
      {
        path: '/workflow',
        name: 'workflow',
        meta: {
          keepAlive: true,
          title: '审批流程管理',
          access: ['sysbasedata']
        },
        component: () => import('@/view/system-mange/workflow/index.vue')
      },
      {
        path: '/basicData-manage',
        name: 'basicDataType-manage',
        meta: {
          keepAlive: true,
          title: '基础数据信息管理',
          access: ['sysbasedata']
        },
        component: parentView,
        children: [
          {
            path: 'basicDataType',
            name: 'basicDataType',
            meta: {
              keepAlive: true,
              title: '基础数据类型管理',
              access: ['basicDataType']
            },
            component: () => import('@/view/system-mange/basicDataTypeManage/basicDataTypeManage.vue')
          },
          {
            path: 'basicData',
            name: 'basicData',
            meta: {
              keepAlive: true,
              title: '基础数据管理',
              access: ['basicData']
            },
            component: () => import('@/view/system-mange/basicDataManage/basicDataManage.vue')
          },
          {
            path: 'bankAccountManage',
            name: 'bankAccountManage',
            meta: {
              keepAlive: true,
              title: '银行账号管理',
              access: ['OrganizationBank']
            },
            component: () => import('@/view/system-mange/bankAccountManage/bankAccountManage.vue')
          },
          {
            path: 'taxDeclareManage',
            name: 'taxDeclareManage',
            meta: {
              keepAlive: true,
              title: '个税申报单位管理',
              access: ['DeclareUnit']
            },
            component: () => import('@/view/system-mange/taxDeclareManage/taxDeclareManage.vue')
          },
          // {
          //   path: 'wagesManage',
          //   name: 'wagesManage',
          //   meta: {
          //     keepAlive: true,
          //     title: '待遇管理参数',
          //     access: ['basicData']
          //   },
          //   component: () => import('@/view/system-mange/wagesBaseManage/wagesManage.vue')
          // },
          {
            path: 'editBaseNode',
            name: 'editBaseNode',
            meta: {
              title: '编辑环节',
              hideInMenu: true,
              notCache: true,
              access: ['basicData']
            },
            component: () => import('@/view/system-mange/wagesBaseManage/editNode.vue')
          },
          {
            path: 'financeProduct',
            name: 'financeProduct',
            meta: {
              keepAlive: true,
              title: '产品清单',
              access: ['FinanceProduct']
            },
            component: () => import('@/view/system-mange/financeProduct/financeProduct.vue')
          },
        ]
      },
      {
        path: '/treatmentParam-manage',
        name: 'treatmentParam-manage',
        meta: {
          keepAlive: true,
          title: '待遇参数管理',
          access: ['TreatmentParameterManage']
        },
        component: parentView,
        children: [
          {
            path: 'treatmentParamType',
            name: 'treatmentParamType',
            meta: {
              keepAlive: true,
              title: '待遇类型管理',
              access: ['TreatmentBasicsType'] 
            },
            component: () => import('@/view/system-mange/treatmentParamManage/treatmentParamManage.vue')
          },
          {
            path: 'treatmentParamTypeDetail',
            name: 'treatmentParamTypeDetail',
            meta: {
              keepAlive: false,
              hideInMenu: true,
              title: '待遇类型管理-附件管理',
              access: ['TreatmentBasicsType'],
              notCache: true
            },
            component: () => import('@/view/system-mange/treatmentParamManage/treatmentParamManageDetail.vue')
          },
          {
            path: 'treatmentLink',
            name: 'treatmentLink',
            meta: {
              keepAlive: true,
              title: '待遇环节管理',
              access: ['TreatmentBasicsLink']
            },
            component: () => import('@/view/system-mange/treatmentLink/treatmentLink.vue')
          },
        ]
      },
      {
        path: 'socialsecurity',
        name: 'socialsecurity',
        meta: {
          keepAlive: true,
          title: '社保参数管理',
          access: ['socialsecurity']
        },
        component: () => import('@/view/system-mange/socialsecurity/socialsecurityManage.vue')
      },
      {
        path: 'accumulationfund',
        name: 'accumulationfund',
        meta: {
          keepAlive: true,
          title: '公积金参数管理',
          access: ['accumulationfund']
        },
        component: () => import('@/view/system-mange/accumulationfund/accumulationfundManage.vue')
      },
      {
        path: 'thirdPartyManage',
        name: 'thirdPartyManage',
        meta: {
          keepAlive: true,
          title: '第三方应用管理',
          access: ['DeclareUnit']
        },
        component: () => import('@/view/system-mange/thirdPartyManage/thirdPartyManage.vue')
      },
      {
        path: 'thirdPartyDetail',
        name: 'thirdPartyDetail',
        meta: {
          keepAlive: false,
          hideInMenu: true,
          title: '第三方应用管理详情',
          access: ['DeclareUnit'],
          notCache: true
        },
        component: () => import('@/view/system-mange/thirdPartyManage/thirdPartyDetail.vue')
      }
    ]
  },
  {
    path: '/third-party-platform',
    name: 'third-party-platform',
    component: Main,
    meta: {
      keepAlive: true,
      showAlways: true,
      title: '第三方接口平台',
      access: ['ThirdPartyInterface'],
      icon: '_baobiaoguanli'
    },
    children: [
      {
        path: 'anxinshui',
        name: 'anxinshui',
        meta: {
          keepAlive: true,
          showAlways: true,
          title: '安薪税',
          access: ['AxsTask']
        },
        component: parentView,
        children: [
          {
            path: 'task-progress',
            name: 'Task_ProgressList',
            meta: {
              keepAlive: true,
              title: '任务进度',
              access: ['Task_ProgressList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-progress.vue')
          },
          {
            path: 'task-customer',
            name: 'Task_CustomerList',
            meta: {
              keepAlive: true,
              title: '客户任务',
              access: ['Task_CustomerList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-customer.vue')
          },
          {
            path: 'task-contract',
            name: 'Task_ContractList',
            meta: {
              keepAlive: true,
              title: '合同任务',
              access: ['Task_ContractList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-contract.vue')
          },
          {
            path: 'task-plan',
            name: 'Task_PlanList',
            meta: {
              keepAlive: true,
              title: '薪酬方案任务',
              access: ['Task_PlanList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-plan.vue')
          },
          {
            path: 'task-employee',
            name: 'Task_EmployeeList',
            meta: {
              keepAlive: true,
              title: '员工任务',
              access: ['Task_EmployeeList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-employee.vue')
          },
          {
            path: 'task-salary',
            name: 'Task_CustomerSalaryList',
            meta: {
              keepAlive: true,
              title: '薪资任务',
              access: ['Task_CustomerSalaryList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-salary.vue')
          },
          {
            path: 'task-info',
            name: 'Task_DetailList',
            meta: {
              keepAlive: true,
              title: '任务信息',
              access: ['Task_DetailList']
            },
            component: () => import('@/view/third-party-platform/anxinshui/task-info.vue')
          }
        ]
      }
    ]
  },
  {
    path: '/upgradeNotice',
    name: 'upgradeNotice',
    component: Main,
    meta: {
      keepAlive: true,
      hideInMenu: false,
      title: '升级公告',
      access: ['UpBulletin'],
      // notCache: false,
      icon: '_shengjigonggao'
    },
    children: [
      {
        path: 'upgradeNoticeList',
        name: 'upgradeNoticeList',
        meta: {
          keepAlive: true,
          hideInMenu: false,
          title: '升级公告',
          access: ['UpBulletin'],
          // notCache: false,
          icon: '_shengjigonggao'
        },
        component: () => import('@/view/upgrade-notice/upgradeNotice.vue')
      }
    ]
  },
  
]
